package com.service.inte;

import com.entity.TD_tblPartyMemberCostSet;
import com.entity.TD_tblPartyMemberCosttotal;
import com.entity.Td_tblPartyMemberCostlog;
import org.springframework.transaction.annotation.Transactional;

public interface MemberCostServiceInte {
    /**
     * 根据用户id查询党费设置
     * @param loginId 用户id
     * @return
     */
    TD_tblPartyMemberCostSet getByFd_LoginID(int loginId);

    /**
     * 新建修改党费设置
     * @param td_tblPartyMemberCostSet 实体表
     * @return
     */
    @Transactional
    void saveMemberCostSet(TD_tblPartyMemberCostSet td_tblPartyMemberCostSet);

    /**
     * 新建修改党费日志表(党员)
     * @param td_tblPartyMemberCosttotal 实体表
     */
    @Transactional
    void saveMemberCosttotal(TD_tblPartyMemberCosttotal td_tblPartyMemberCosttotal);

    /**
     * 新建修改党费日志表(党组织)
     * @param td_tblPartyMemberCostlog 实体表
     */
    @Transactional
    void saveMemberCostLog(Td_tblPartyMemberCostlog td_tblPartyMemberCostlog);
}
